package www.woniuxy.com.class112.entity;

public class UserFavorites {
    private Long favoriteId;

    private Long userId;

    private Long favoriteType;

    private Long contentId;

    public Long getFavoriteId() {
        return favoriteId;
    }

    public void setFavoriteId(Long favoriteId) {
        this.favoriteId = favoriteId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getFavoriteType() {
        return favoriteType;
    }

    public void setFavoriteType(Long favoriteType) {
        this.favoriteType = favoriteType;
    }

    public Long getContentId() {
        return contentId;
    }

    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", favoriteId=").append(favoriteId);
        sb.append(", userId=").append(userId);
        sb.append(", favoriteType=").append(favoriteType);
        sb.append(", contentId=").append(contentId);
        sb.append("]");
        return sb.toString();
    }
}